package at.fhooe.mc.master.clc.server.domain.datastorenative;

import at.fhooe.mc.master.clc.server.domain.IEmbeddedEntity;

public class EmbeddedDatastoreNativeEntity implements IEmbeddedEntity
{

	private String stringField;
	private double doubleField;

	public EmbeddedDatastoreNativeEntity()
	{
	}

	public EmbeddedDatastoreNativeEntity(String stringField, double doubleField)
	{
		super();
		this.stringField = stringField;
		this.doubleField = doubleField;
	}

	public EmbeddedDatastoreNativeEntity(boolean generate)
	{
		if (generate)
		{
			this.stringField = "embedded_string_field";
			this.doubleField = 42.42;
		}
	}
	
	@Override
	public String getStringField()
	{
		return this.stringField;
	}

	@Override
	public double getDoubleField()
	{
		return this.doubleField;
	}

}
